package com.zsw.recongize.bean;

import java.util.List;

public class Invoice {
	
	private String fileName;
	private String code;
	private String number;
	private String date;
	private String checkCode;
	private String password;
	
	private String buyerName;
	private String buyerSocialCode;
	private String buyerAddress;
	private String buyerBankAccount;
	
	private List<Detail> detailList;
	
	private String detailGoods;
	private String detailModel;
	private String detailUnit;
	private String detailCount;
	private String detailUnitPrice;
	private String detailTotalPrice;
	private String detailTaxRate;
	private String detailTax;
	
	private String total;
	
	private String sellerName;
	private String sellerSocialCode;
	private String sellerAddress;
	private String sellerBankAccount;
	private boolean real;
	private boolean buyerNameCorrect;
	private boolean buyerSocialCodeCorrect;
	private String exceptionMsg;
	
	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getCheckCode() {
		return checkCode;
	}

	public void setCheckCode(String checkCode) {
		this.checkCode = checkCode;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getBuyerName() {
		return buyerName;
	}

	public void setBuyerName(String buyerName) {
		this.buyerName = buyerName;
	}

	public String getBuyerSocialCode() {
		return buyerSocialCode;
	}

	public void setBuyerSocialCode(String buyerSocialCode) {
		this.buyerSocialCode = buyerSocialCode;
	}

	public String getBuyerAddress() {
		return buyerAddress;
	}

	public void setBuyerAddress(String buyerAddress) {
		this.buyerAddress = buyerAddress;
	}

	public String getBuyerBankAccount() {
		return buyerBankAccount;
	}

	public void setBuyerBankAccount(String buyerBankAccount) {
		this.buyerBankAccount = buyerBankAccount;
	}

	public List<Detail> getDetailList() {
		return detailList;
	}

	public void setDetailList(List<Detail> detailList) {
		this.detailList = detailList;
	}

	public String getDetailGoods() {
		return detailGoods;
	}

	public void setDetailGoods(String detailGoods) {
		this.detailGoods = detailGoods;
	}

	public String getDetailModel() {
		return detailModel;
	}

	public void setDetailModel(String detailModel) {
		this.detailModel = detailModel;
	}

	public String getDetailUnit() {
		return detailUnit;
	}

	public void setDetailUnit(String detailUnit) {
		this.detailUnit = detailUnit;
	}

	public String getDetailCount() {
		return detailCount;
	}

	public void setDetailCount(String detailCount) {
		this.detailCount = detailCount;
	}

	public String getDetailUnitPrice() {
		return detailUnitPrice;
	}

	public void setDetailUnitPrice(String detailUnitPrice) {
		this.detailUnitPrice = detailUnitPrice;
	}

	public String getDetailTotalPrice() {
		return detailTotalPrice;
	}

	public void setDetailTotalPrice(String detailTotalPrice) {
		this.detailTotalPrice = detailTotalPrice;
	}

	public String getDetailTaxRate() {
		return detailTaxRate;
	}

	public void setDetailTaxRate(String detailTaxRate) {
		this.detailTaxRate = detailTaxRate;
	}

	public String getDetailTax() {
		return detailTax;
	}

	public void setDetailTax(String detailTax) {
		this.detailTax = detailTax;
	}

	public String getTotal() {
		return total;
	}

	public void setTotal(String total) {
		this.total = total;
	}

	public String getSellerName() {
		return sellerName;
	}

	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}

	public String getSellerSocialCode() {
		return sellerSocialCode;
	}

	public void setSellerSocialCode(String sellerSocialCode) {
		this.sellerSocialCode = sellerSocialCode;
	}

	public String getSellerAddress() {
		return sellerAddress;
	}

	public void setSellerAddress(String sellerAddress) {
		this.sellerAddress = sellerAddress;
	}

	public String getSellerBankAccount() {
		return sellerBankAccount;
	}

	public void setSellerBankAccount(String sellerBankAccount) {
		this.sellerBankAccount = sellerBankAccount;
	}

	public boolean isReal() {
		return real;
	}

	public void setReal(boolean real) {
		this.real = real;
	}

	public boolean isBuyerNameCorrect() {
		return buyerNameCorrect;
	}

	public void setBuyerNameCorrect(boolean buyerNameCorrect) {
		this.buyerNameCorrect = buyerNameCorrect;
	}

	public boolean isBuyerSocialCodeCorrect() {
		return buyerSocialCodeCorrect;
	}

	public void setBuyerSocialCodeCorrect(boolean buyerSocialCodeCorrect) {
		this.buyerSocialCodeCorrect = buyerSocialCodeCorrect;
	}

	public String getExceptionMsg() {
		return exceptionMsg;
	}

	public void setExceptionMsg(String exceptionMsg) {
		this.exceptionMsg = exceptionMsg;
	}

	public class Detail {
		
		private String goods;
		private String model;
		private String unit;
		private String count;
		private String unitPrice;
		private String totalPrice;
		private String taxRate;
		private String tax;
		
		public String getGoods() {
			return goods;
		}
		public void setGoods(String goods) {
			this.goods = goods;
		}
		public String getModel() {
			return model;
		}
		public void setModel(String model) {
			this.model = model;
		}
		public String getUnit() {
			return unit;
		}
		public void setUnit(String unit) {
			this.unit = unit;
		}
		public String getCount() {
			return count;
		}
		public void setCount(String count) {
			this.count = count;
		}
		public String getUnitPrice() {
			return unitPrice;
		}
		public void setUnitPrice(String unitPrice) {
			this.unitPrice = unitPrice;
		}
		public String getTotalPrice() {
			return totalPrice;
		}
		public void setTotalPrice(String totalPrice) {
			this.totalPrice = totalPrice;
		}
		public String getTaxRate() {
			return taxRate;
		}
		public void setTaxRate(String taxRate) {
			this.taxRate = taxRate;
		}
		public String getTax() {
			return tax;
		}
		public void setTax(String tax) {
			this.tax = tax;
		}
	}
}
